public class Main {
    public static void main(String[] args) {
        int i = 0;
        for (i = 1; i <= 9; i++) {
            int j = 0;
            for (j = 1; j <= 9; j++) {
                System.out.printf("%d*%d=%-4d", i, j, i * j);
            }
            System.out.println();
        }
    }
}
